#ifndef CONTACTSLISTVIEW_H_
#define CONTACTSLISTVIEW_H_

#include <QListView>
#include <QStandardItemModel>

#include "ContactsInfo.h"

#define NOINTEGRATION 0



class ContactsListView : public QListView
{
	Q_OBJECT

public:
	explicit ContactsListView(QWidget* parent = nullptr);
	void init();
	void onDoubleClicked(const QModelIndex& index);

private:
	QStandardItemModel* m_itemModel;

	QList<contactsInfo*> m_infos;
};
#endif // !CONTACTSLISTVIEW_H_
